package common.main.cnki;

public class CnkiXpath {


    //获取列表页的url
    public static String LIST_URL = "//SCRIPT[@language='javascript' and @type='text/javascript']";
    /**
     * 列表页
     */
    //文章的url
    public static String PAPER_URL = "//TABLE[@class='GridTableContent']/TBODY/TR/TD/A[@class='fz14']/@href";
    public static String PAPER_PUB_TIME = "//TABLE[@class='GridTableContent']/TBODY/TR[<n>]/TD[5]";
    //下一页
    public static String NEXT_PAGE_URL = "//DIV[@class='TitleLeftCell']/A[last()]/@href";

    /**
     * 文章详情页
     */
    public static String TITLE = "//H2[@class='title']";
    public static String AUTHOR = "//DIV[@class='author']/SPAN/A";
    public static String FIRST_AUTHOR = "//DIV[@class='author']/SPAN[1]/A/@onclick";
    public static String BRIEF = "//SPAN[@id='ChDivSummary']";
    public static String KEYWORDS = "//DIV[@class='wxInfo']/DIV[@class='wxBaseinfo']/P";
    //文章下载量
    public static String PAPER_DOWNLOAD = "//DIV[@class='dllink-down']/DIV[@class='info']/DIV[@class='total']/SPAN[@class='a']/B";
    //获取 与引用本文作者相关的信息
    public static String GET_TABLENAME_FILENAME = "//DIV[@class='wxmain']/DIV[@class='wxTitle']/A/@href";

    public static String JOURNAL_NAME = "//DIV[@class='sourinfo']/P[@class='title']/A";
    public static String JOURNAL_URL = "//DIV[@class='sourinfo']/P[@class='title']/A/@onclick";
    //获取引用本文作者信息
    public static String CITE_AUTHOR = "//DIV[last()]/UL/LI/A";
    /**
     * 作者详情页
     */
    //机构
    public static String ORGN = "//DIV[@class='baseInfo']/DIV[@class='info']/P[@class='orgn']/A";
    //发文数与下载数
    public static String PUBNUM_DOWNLOADNUM = "//DIV[@class='baseInfo']/DIV[@class='info']/P[@class='num']/SPAN";

    /**
     * 期刊详情页
     */
    //影响因子
    public static String JOURNAL_AFFECTOI = "//UL[@id='evaluateInfo']/LI[2]/P[@class='hostUnit']";
    //下载数和引用数
    public static String JOURNAL_DOWNLOADNUM_CITENUM = "//UL[@id='publishInfo']/LI[2]/P[@class='hostUnit']";

}
